package com.funtl.framework.java.abstracts;

import java.util.HashMap;
import java.util.Map;

import org.apache.struts2.interceptor.RequestAware;
import org.apache.struts2.interceptor.SessionAware;

import com.opensymphony.xwork2.ActionSupport;

/**
 * StrutsActionSupport <br />
 * @author wmli
 *
 */
public abstract class AbstractAction extends ActionSupport implements RequestAware, SessionAware {
	private static final long serialVersionUID = 8282309383152956956L;
	protected Map<String, Object> jsonData = new HashMap<String, Object>();
	
	public abstract String get() throws Exception;
	public abstract String query() throws Exception;
	public abstract String insert() throws Exception;
	public abstract String delete() throws Exception;
	public abstract String update() throws Exception;
}
